package com.alm.handle.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
@Data
@TableName("alm_auto_enera_his")
public class AlmAutoEneraHis {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "device_id")
    private String devId;
    @TableField(value = "electric_current")
    private BigDecimal electricCurrent;
    @TableField(value = "active_power")
    private BigDecimal activePower;
    @TableField(value = "online_status")
    private Integer onlineStatus;
    @TableField(value = "work_status")
    private Integer workStatus;
    @TableField(value = "ex_status")
    private Integer exStatus;
    @TableField(value = "info_no")
    private String infoNo;

    @TableField(value = "add_time")
    private Long addTime;
}
